package com.blacksheep.mtm.service;

import com.blacksheep.mtm.pojo.common.DataTablesResult;
import com.blacksheep.mtm.pojo.manager.TbCustomer;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface CustomerService {
    DataTablesResult getList(int draw, int start, int length, String search, String minDate, String maxDate, String orderCol, String orderDir);

    TbCustomer insert(TbCustomer customer);

    TbCustomer updateCustomer(TbCustomer customer);

    void insertFromExcel( List<Object> sheetData1);

    TbCustomer alertState(Integer id, Integer state);

    void download(HttpServletResponse response) throws IOException;


}
